namespace Common.Unity.Extensions.Configuration.Testing.Objects
{
	class SpyPolicyConfigurator : ObjectConfigurator<ISpyPolicy,ISpyPolicyConfiguration>
	{
		public SpyPolicyConfigurator( ISpyPolicyConfiguration configuration ) : base( configuration )
		{}

		protected override void PerformConfiguration( ISpyPolicy target )
		{
			target.Enabled = Configuration.Enabled;
		}
	}
}